home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5985 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Tradition or what?
  5. Date: Thu, 22 Feb 96 00:55:22 GMT
  6. Organization: none
  7. Message-ID: <824950522snz@genesis.demon.co.uk>
  8. References: <4g0elg$mdr@redstone.interpath.net> <Dn4wML.5LJ@undergrad.math.uwaterloo.ca>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <Dn4wML.5LJ@undergrad.math.uwaterloo.ca>
  15.            clgonsal@undergrad.math.uwaterloo.ca
  16.            "Carl Laurence Gonsalves" writes:
  17.  
  18. >strcat( strcpy( a, b ), c );
  19. >
  20. >This copies b to a and that concatenates c onto the end of a. Certainly not
  21. >recommended unless you're absolutely positive you're not going to get a
  22. >NULL in there somewhere.
  23.  
  24. If strcpy() is passed valid arguments it cannot return NULL.
  25.  
  26. -- 
  27. -----------------------------------------
  28. Lawrence Kirby | fred@genesis.demon.co.uk
  29. Wilts, England | 70734.126@compuserve.com
  30. -----------------------------------------
  31.